with open('./6666/text.text','r',encoding='utf-8') as f:
    res=f.read()
    print(res)
    str_list=res.split('\n')
    count=0
    for line in str_list:
        count+=1
    print(f'行数{count}')